package com.tjmc.recruit.finance.api.enums;

import lombok.Getter;

@Getter
public enum WxOrderStatusEnum {
    GENERATION("GENERATION", "订单生成"),
    SUCCESS("SUCCESS", "支付成功"),

    REFUND("REFUND", "转入退款"),

    REFUND_OFFLINE("REFUND_OFFLINE","线下退款"),

    NOTPAY("NOTPAY", "未支付"),

    CLOSED("CLOSED", "已关闭"),

    REVOKED("REVOKED", "已撤销（付款码支付）"),

    USERPAYING("USERPAYING", "用户支付中"),

    PAYERROR("PAYERROR", "支付失败"),

    UNKNOW("UNKNOW", "未知状态"),

    //微信退款状态
    REFUND_SUCCESS("SUCCESS", "退款成功"),
    PROCESSING("PROCESSING", "退款处理中"),
    ABNORMAL("ABNORMAL", "退款异常");

    private final String status;

    private final String statusDesc;

    WxOrderStatusEnum(String status, String statusDesc) {
        this.status = status;
        this.statusDesc = statusDesc;
    }
}
